home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 1
/
BUGCD1996_0708.ISO
/
pc
/
util
/
minilin
/
minilin.exe
/
SBIN
/
EXPLODEP.{_7
< prev
next >
Wrap
Text File
|
1994-05-25
|
720b
|
26 lines
#!/bin/sh
if [ $# = 0 ]; then
cat << EOF
Usage: explodepkg package_name [package_name2, ...]
Explodes a Slackware compatible software package (or any tar+gzip archive) in
the current directory. Equivalent to (for each package listed):
( umask 000 ; tar xzvf package_name )
Note: This should only be used for debugging or examining packages, not for
installing them. It doesn't execute installation scripts or update the package
indexes in /var/adm.
EOF
fi
for PKG in $* ; do
echo "Exploding package $PKG in current directory:"
( umask 000 ; tar xzvf $PKG )
if [ -r install/doinst.sh ]; then
echo
echo "An installation script was detected in ./install/doinst.sh, but"
echo "was not executed."
fi
done